package ModelLayer;


/**
 * Write a description of class BusinessCustomer here.
 * 
 * @author (Gruppe 2) 
 * @version (a version number or a date)
 */
public class BusinessCustomer extends Person
{
    private String companyName;
    private String CVRnr;
    private double discount;
    
    public BusinessCustomer(int id, String name, String address, String phone, String mail, String companyName, String CVRnr, double discount)
    {
        super(id, name, address, phone, mail);
        this.companyName = companyName;
        this.CVRnr = CVRnr;
        this.discount = discount;
    }
    
    public int getId()
    {
        return super.getId();
    }
    
    public String getName()
    {
        return super.getName();
    }
    
    public String getAddress()
    {
        return super.getAddress();
    }
    
    public String getPhone()
    {
        return super.getPhone();
    }
    
    public String getMail()
    {
        return super.getMail();
    }
    
    public String getCompanyName()
    {
        return companyName;
    }
    
    public String getCVRnr()
    {
        return CVRnr;
    }
    
    public double getDiscount()
    {
        return discount;
    }
    
    public void setId(int id)
    {
        super.setId(id);
    }
    
    public void setName(String name)
    {
        super.setName(name);
    }
    
    public void setAddress(String address)
    {
        super.setAddress(address);
    }
    
    public void setPhone(String phone)
    {
        super.setPhone(phone);
    }
    
    public void setMail(String mail)
    {
        super.setMail(mail);
    }
    
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }
    
    public void setCVRnr(String CVRnr)
    {
        this.CVRnr = CVRnr;
    }
    
    public void setDiscount(double discount)
    {
        this.discount = discount;
    }
}
